package cn.lcl.service.admin.impl;

import cn.lcl.basic.dao.impl.BookDaoImp;
import cn.lcl.service.admin.IIndexService;
import cn.lcl.service.basic.impl.AbstractBaseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

/**
 * Created by licho on 2017/8/9 0009.
 */
@Service("indexService")
public class IndexServiceImpl  extends AbstractBaseService implements IIndexService {
    @Autowired
    @Qualifier("bookDao")
    private BookDaoImp bookDao;

    @Override
    public void testService() {
        System.out.println("这是服务层方法");
        bookDao.selectById(1L);
        System.out.println("服务层方法结束");
    }
}
